<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
	<div id="navi">
		<s:iterator begin="startPageNum" end="endPageNum" status="status">
			<s:if test="#status.index+1 == page">
				<s:property/>
			</s:if>
			<s:else>
				<s:if test="category == null">
					<a href="/blog/page/<s:property/>" onclick="javascript:$('#ajaxStatus').fadeIn();"><s:property/></a>
				</s:if>
				<s:else>
					<a href="/blog/category/<s:property value="category" />/page/<s:property/>" onclick="javascript:$('#ajaxStatus').fadeIn();"><s:property/></a>
				</s:else>
			</s:else>
		</s:iterator>
	</div>